using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

using Nextel.Utils;
using System.Collections.Generic;

public partial class rol : PageController
{
    protected override void initialize()
    {
        subLlenarControl();
        cargarCombo();
    }

    private void cargarCombo()
    {
        cmbPerfil.DataSource = DBUsuario.getGeneralBean(AbstractBean.ACTIVO, "USPW_USUARIO_S_PERFILXFLAG", ((UsuarioBean)Session[SessionManager.USER_SESSION]).codigo);
        cmbPerfil.DataValueField = "CODIGO";
        cmbPerfil.DataTextField = "NOMBRE";
        try{
           cmbPerfil.DataBind();    
        }
        catch (Exception) { }
 
    }



    private void subLlenarControl()
    {
        UCManOpcion1.Descripcion = IdiomaCultura.getMensaje(IdiomaCultura.WEB_MANTENIMIENTOROL);
    }


  
}
